package com.xudow.app.data;

import com.activeshare.edu.ucenter.models.course.CourseSearchCriteriaLevelOneWithOthers;
import com.activeshare.edu.ucenter.models.searchcriteria.CourseSearchCriteriaLevelThreeWithOthers;
import com.activeshare.edu.ucenter.models.searchcriteria.CourseSearchCriteriaLevelTwoWithOthers;

import java.util.ArrayList;
import java.util.List;

public class Pair {
    public String first;
    public String second;
    public String parent;
    public CourseSearchCriteriaLevelOneWithOthers one;
    public CourseSearchCriteriaLevelTwoWithOthers two;
    public CourseSearchCriteriaLevelThreeWithOthers three;
    public boolean checked =false;  //是否显示✔
    public boolean selected =false; //是否选中(背景突出)

    public Pair() {
    }

    public Pair(String first, String second) {
        this.first = first;
        this.second = second;
    }

    public Pair(String first, String second, String parent) {
        this.first = first;
        this.second = second;
        this.parent = parent;
    }

    public static Pair makePair(String first, String second) {
        return new Pair(first, second);
    }

    public static Pair makePair(String first, String second, String parent) {
        return new Pair(first, second, parent);
    }

}
